package edu.unlv.cs.ladders.services;

import org.springframework.security.acls.model.Permission;
import org.springframework.security.core.userdetails.UserDetails;

import edu.unlv.cs.ladders.entities.BaseEntity;

public interface PermissionService {
	public void setDefaultPermissions(Object entity);
	public void grantPermission(BaseEntity entity, UserDetails userDetails, Permission permission);
	public boolean currentUserHasWritePermission(BaseEntity entity);
}
